package net.ericaro.neojavagen.types ;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;

import net.ericaro.neojavagen.types.ActualTypeArgument ;

import net.ericaro.neojavagen.StringUtils;
		
/**
* <pre> TypeArguments : < ActualTypeArgument , ActualTypeArgument , ... > 
*/
public class TypeArguments extends ArrayList<ActualTypeArgument>  {
	
	public TypeArguments(){
		super();
	}
	
	public TypeArguments(ActualTypeArgument ... components){
		this(Arrays.asList(components) );
	}
	public TypeArguments(Collection<ActualTypeArgument> values ){
		super(values);
	}
	
	
	public String toString(){
		return StringUtils.toString(this, ",", "<", ">");
	}

}
